﻿<%@ Page Language="C#" Title="已发补助统计" AutoEventWireup="true" MasterPageFile="~/Master/MasterPage_New.master"
    CodeBehind="HospitalAmountSubsidyStatistics4.aspx.cs" Inherits="HZ.Supervise.Web.Secondphase.ReportHospital.hospitalAmountSubsidyStatistics4" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="~/Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<%@ Register Src="../../Common/SortControls.ascx" TagName="SortControls" TagPrefix="uc3" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript">
        function insertProInfo(hos) {
            var varhosInfo = hos.split('|');
            document.getElementById("ctl00_ContentPlaceHolder1_HidProId").value = varhosInfo[0];
            document.getElementById("ctl00_ContentPlaceHolder1_txtProName").value = varhosInfo[1];
        }
        function clears() {
             
            document.getElementById("ctl00_ContentPlaceHolder1_HidProId").value ="";
            document.getElementById("ctl00_ContentPlaceHolder1_txtProName").value = "";
        } 
        function dis(id) {
            document.getElementById("chart1").style.display = "none";
            document.getElementById("chart2").style.display = "none";
            document.getElementById("chart3").style.display = "none";
            document.getElementById(id).style.display = "block"
        }
        function onclicks() {
            var aid = document.getElementById("ctl00_ContentPlaceHolder1_ddlCity").value;
            showPopWin('选择医院', '/Common/FindHospital.aspx?aid=' + aid, 280, 450, null, true, true)
           // window.open('/Common/FindHospital.aspx?aid=' + aid, '123', 'width=280,height=450,resizable=0,scrollbars=0, status=0, toolbar=0, menubar=0')
        }
    </script>

    <div id="tabnav">
        <ul>
            <li><a href="hospitalAmountSubsidyStatistics3.aspx">药品补助排名</a></li>
            <li class="active"><a href="javascript:void(0)">医院补助排名</a></li>
            <li><a href="hospitalAmountSubsidyStatistics5.aspx">地区补助排名</a></li>
        </ul>
    </div>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <td>
                    <table class="querylist">
                        <tr>
                            <td align="right">
                                <asp:Label ID="labArea" runat="server" Text="所在地区："></asp:Label>
                            </td>
                            <td align="left">
                                <asp:DropDownList ID="ddlCity" runat="server">
                                </asp:DropDownList>
                            </td>
                            <td align="right">
                                通用名：
                            </td>
                            <td align="left" class="style1">
                                <asp:TextBox ID="txtProName" MaxLength="25" runat="server" Width="193px"></asp:TextBox>
                                <input type="button" id="Button3" runat="server" value="选择药品" class="btn" style="margin-right: 5px;"
                                    onclick="javascript:showPopWin('选择药品', '/Common/FindProductName.aspx', 850, 400, null, true, true)" />
                                    <a href="javascript:clears()">清空</a>
                                <input id="HidProId" type="hidden" name="HidProId" runat="server" />
                            </td>
                            <td align="right">
                                <asp:Label ID="labPlanTime" runat="server" Text="统计时间："></asp:Label>
                                &nbsp;
                            </td>
                            <td align="left">
                                <asp:TextBox ID="txtStratTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"
                                    Width="63px"></asp:TextBox>-<asp:TextBox ID="txtEndTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"
                                        Width="63px"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </td>
                <td width="100px">
                    <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="searchbtn" SkinID="search"
                        ToolTip="点击查询符合条件的数据" OnClick="btnQuery_Click" />
                </td>
            </tr>
        </table>
    </div>
    <div>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     <a href="javascript:dis('chart1')">补贴总金额</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     <a href="javascript:dis('chart2')">基药使用率</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     <a href="javascript:dis('chart3')">处方单总金额</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <div id="chart1">
            <asp:Chart ID="hospitalAmountSubsidy1" runat="server" Width="745px" BackColor="PowderBlue"
                BackGradientStyle="TopBottom">
                <Legends>
                    <asp:Legend BackColor="Transparent" IsTextAutoFit="true" Name="Default" BackGradientStyle="None"
                        Docking="Top" Alignment="Far">
                    </asp:Legend>
                </Legends>
                <%--<Series>
                <asp:Series Name="Series1">
                </asp:Series>
            </Series>--%>
                <BorderSkin SkinStyle="Sunken"></BorderSkin>
                <ChartAreas>
                    <asp:ChartArea Name="hospitalAmountSubsidy1" BorderColor="64, 64, 64, 64" BackSecondaryColor="Transparent"
                        BackColor="64, 165, 191, 228" ShadowColor="Transparent">
                        <Position Y="3" Height="92" Width="92" X="2" Auto="true"></Position>
                        <AxisY LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                            <MajorGrid LineColor="64, 64, 64, 64" />
                        </AxisY>
                        <AxisX LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                            <MajorGrid LineColor="64, 64, 64, 64" />
                        </AxisX>
                    </asp:ChartArea>
                </ChartAreas>
            </asp:Chart>
        </div>
        <div id="chart2" style="display:none">
            <asp:Chart ID="hospitalAmountSubsidy2" runat="server" Width="745px" BackColor="PowderBlue"
                BackGradientStyle="TopBottom">
                <Legends>
                    <asp:Legend BackColor="Transparent" IsTextAutoFit="true" Name="Default" BackGradientStyle="None"
                        Docking="Top" Alignment="Far">
                    </asp:Legend>
                </Legends>
                <%--<Series>
                <asp:Series Name="Series1">
                </asp:Series>
            </Series>--%>
                <BorderSkin SkinStyle="Sunken"></BorderSkin>
                <ChartAreas>
                    <asp:ChartArea Name="hospitalAmountSubsidy2" BorderColor="64, 64, 64, 64" BackSecondaryColor="Transparent"
                        BackColor="64, 165, 191, 228" ShadowColor="Transparent">
                        <Position Y="3" Height="92" Width="92" X="2" Auto="true"></Position>
                        <AxisY LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                            <MajorGrid LineColor="64, 64, 64, 64" />
                        </AxisY>
                        <AxisX LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                            <MajorGrid LineColor="64, 64, 64, 64" />
                        </AxisX>
                    </asp:ChartArea>
                </ChartAreas>
            </asp:Chart>
        </div>
        <div id="chart3"  style="display:none">
         <asp:Chart ID="hospitalAmountSubsidy3" runat="server" Width="745px" BackColor="PowderBlue"
                BackGradientStyle="TopBottom">
                <Legends>
                    <asp:Legend BackColor="Transparent" IsTextAutoFit="true" Name="Default" BackGradientStyle="None"
                        Docking="Top" Alignment="Far">
                    </asp:Legend>
                </Legends>
                <%--<Series>
                <asp:Series Name="Series1">
                </asp:Series>
            </Series>--%>
                <BorderSkin SkinStyle="Sunken"></BorderSkin>
                <ChartAreas>
                    <asp:ChartArea Name="hospitalAmountSubsidy3" BorderColor="64, 64, 64, 64" BackSecondaryColor="Transparent"
                        BackColor="64, 165, 191, 228" ShadowColor="Transparent">
                        <Position Y="3" Height="92" Width="92" X="2" Auto="true"></Position>
                        <AxisY LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                            <MajorGrid LineColor="64, 64, 64, 64" />
                        </AxisY>
                        <AxisX LineColor="64, 64, 64, 64" LabelAutoFitMaxFontSize="8">
                            <LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" />
                            <MajorGrid LineColor="64, 64, 64, 64" />
                        </AxisX>
                    </asp:ChartArea>
                </ChartAreas>
            </asp:Chart>
        </div>
        <asp:HiddenField ID="HidState" runat="server" />
        <hz:HzButton ID="HzButton1" runat="server" OnClick="HzButton1_Click" Text="柱状" CssClass="btn" />
        &nbsp;&nbsp;&nbsp;
        <hz:HzButton ID="HzButton2" runat="server" OnClick="HzButton2_Click" Text="线状" CssClass="btn" />
        &nbsp;&nbsp;&nbsp;
       <%-- <hz:HzButton ID="HzButton3" Visible="false" runat="server" OnClick="HzButton3_Click"
            Text="饼状" CssClass="btn" />--%>
    </div>
      </div>
        <div class="listip">
        <ul>
            <li>说明:<span> 此图为医院补助排名图,查看补足金额前10的医院.</span></li>
        </ul>
    </div>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="head">
    <style type="text/css">
        .style1
        {
            width: 383px;
        }
    </style>
</asp:Content>
